package cn.edu.zafu.bigdata.x.zhouyuyan.work6;

public class CubeTest {
    public static void main(String[] args) {
        Cube cube1 = new Cube(3.0,3.0,3.0);
        Cube cube2 = new Cube(3.0,3.0,3.0);
        Cube cube3 = new Cube(4.0,4.0,4.0);

        System.out.println("cub1 equals cub2:"+cube1.equals(cube2));
        System.out.println("cub1 equals cub3:"+cube1.equals(cube3));
    }
}
